package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.content.model.dto.SaveTeachplanDto;
import com.xuecheng.content.model.dto.TeachplanDto;
import com.xuecheng.content.model.dto.UploadMediaDto;
import com.xuecheng.content.model.po.Teachplan;

import java.util.List;


public interface TeachplanService extends IService<Teachplan> {

    List<TeachplanDto> getTreeNodes(Long courseId);

    void saveTeachplan(SaveTeachplanDto teachplan);

    void deleteTeachplan(Long teachplanId);

    void moveupTeachplan(Long teachplanId);

    void movedownTeachplan(Long teachplanId);

    void uploadmedia(UploadMediaDto uploadMediaDto);

    void deleteTeachplanMedia(Long teachplanId, String mediaId);
}
